package com.aust.dynamicProxy.test5;


import java.lang.reflect.Proxy;

public class ProxyUtil {
    public static Object createProxy(Object object) {
        return Proxy.newProxyInstance(
                object.getClass().getClassLoader(),
                object.getClass().getInterfaces(),
                new AOPHandler(object)
        );
    }
}
